/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lab8;


public class Constanta {
    protected double ct;

    public Constanta(double ct) {
        this.ct = ct;
    }
    public double Constata(double ct)
    {
    this.ct = ct;
    return this.ct;
    }
    public double calcul()
    {
    return ct;
    }
    public double calculDerivata()
    {
    return 0;
    }
    public String derivare()
    {
    return "0";
    }

    @Override
    public String toString() {
        return "Constanta{" + "ct=" + ct + '}';
    }
    
    
}
